package br.com.fidalgotecnologia.layar.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;

@Entity
@Table(schema="poi", name="axis")
@SequenceGenerator(sequenceName="poi.axis_id_seq" , name="axis_seq")
public class Axis {
	private Long id;
	private double x;
	private double y;
	private double z;
	
	@Id
	@GeneratedValue(strategy=GenerationType.SEQUENCE, generator="axis_seq")
	@Column(name="id")
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	@Column(name="pos_x")
	public double getX() {
		return x;
	}
	public void setX(double x) {
		this.x = x;
	}
	@Column(name="pos_y")
	public double getY() {
		return y;
	}
	public void setY(double y) {
		this.y = y;
	}
	@Column(name="pos_z")
	public double getZ() {
		return z;
	}
	public void setZ(double z) {
		this.z = z;
	}
}
